{% extends 'home/public/index.html' %}


{% block title %}
<title>我的订单</title>
{% endblock %}

{% block css %}

<link rel="stylesheet" type="text/css" href="/static/home/css/order.css">
<link rel="stylesheet" type="text/css" href="/static/home/css/order-app.css">
<script src="/static/admin/js/uploadPreview.js"></script>
{% endblock %}


{% block con %}
<!-- 导航 E-->
<!-- 主内容区域 -->
<div class="mainbody order">
    <div class="container">
        <!-- 面包屑导航 -->
        <div class="crumbs col-xs-12 col-sm-12">
            <ol class="breadcrumb">
                <li class="hidden-xs hidden-sm">首页</li>
                <li class="active">个人信息</li>
            </ol>
        </div>
        <!-- 面包屑导航 E-->
        <div class="main clearfix">
            <!-- 左侧导航 -->
            <div class="left-nav f-fl col-md-4 hidden-xs hidden-sm">
                <div class="nav-main">
                    <a href="javascript:;" class="type-title">
                        <span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span>订单中心
                    </a>
                    <a href="/myorder/" class="ml ">我的订单</a>
                    
                    <a href="javascript:;" class="type-title">
                        <span class="glyphicon glyphicon-user" aria-hidden="true"></span>个人中心
                    </a>
                    <a href="{% url 'myhome_dizhi' %}" class="ml ">地址管理</a>                    
                    <a href="{% url 'myhome_xinxi' %}" class="ml active">个人信息</a>
                </div>
            </div>
            <!-- 左侧导航 E-->
            <!-- 右侧内容展示 -->
            <div class="right-content f-fr col-md-8 col-xs-12 col-sm-12">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">名字:{{ info.username }}</h3>
                    </div>
                    <div class="panel-body">头像: {% if info.pic != None %}  <img src="{{ info.pic }}"> {% endif %} </div>
                    <div class="panel-body">电话:{{ info.phone }}</div>
                    <div class="panel-body">邮箱: {% if info.email != None %}    {{ info.email }} {% endif %} </div>
                    <div class="panel-body">性别: {% if info.sex != None %}    
                                        {% if info.sex == 1 %}男
                                        {% else %}女
                                        {% endif %}
                                        
                     {% endif %} </div>
                    <div class="panel-body">年龄: {% if info.age != None %}    {{ info.age }} {% endif %} </div>
                    <div class="panel-body">注册时间:{{ info.addtime }}</div>
                    <div class="panel-body"><a href="{% url 'myhome_xinxixiugai' %}?uid={{ info.id }}">用户修改</a></div>
                </div>
            </div>

            
            

        </div>
    </div>
</div>
{% endblock %}


{% block script %}
<script type="text/javascript">
        //登录图片鼠标经过
        topLogin();
        backTop();      
</script>
{% endblock %}}